/**
 * Copyright (c) 2015-2016
 */
package com.tyf.common.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @ClassName: BaseEditEntity<br>
 * @Description: 可编辑的实体基类<br>
 *               建档（人、时间），修改（人、时间）字段属性
 * @author xd<br>
 * @date Jul 24, 2016 3:35:24 PM<br>
 *
 */
/**
 * 
 * @ClassName: BaseAuditEntity<br>
 * @Description: 可审核的实体基类<br>
 * 			继承至BaseEditEntity，增加审核人，审核时间
 * @author liutao<br>
 * @date 2016年10月24日上午9:07:07<br>
 *
 */
@MappedSuperclass
public abstract class BaseAuditEntity<ID extends Serializable> extends BaseEditEntity<ID> {

    /**
     * @Fields serialVersionUID
     */
    private static final long serialVersionUID = 7016360188422093553L;
    
    /**
     * 审核人
     */
    private String auditor;
    
    /**
     * 审核时间
     */
    @Column(name="audit_time")
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date auditTime;

	public String getAuditor() {
		return auditor;
	}

	public Date getAuditTime() {
		return auditTime;
	}

	public void setAuditor(String auditor) {
		this.auditor = auditor;
	}

	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}
}
